package zy0153;

public class Num {
	public int n;
	public volatile int i=1;
	public final Object lock=new Object();
	public int getNum() {
		return n;
	}
	public Object getLock() {
		return lock;
	}
	public int getI() {
		return i;
	}
	public void setI(int i) {
		this.i = i;
	}
	public Num(int n) {
		super();
		this.n = n;
	}
}
